import unittest
from time import sleep

from tools.tools import open_browser

"""用例基类"""
class BaseCase(unittest.TestCase):
    def setUp(self):
        self.driver = open_browser()

    def tearDown(self):
        sleep(3)
        self.driver.quit()